home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_1199 / 1110 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  915 b 

  1. From: llunch@knuth.cba.csuohio.edu (Jason Baker)
  2. Subject: Re: user-written interrupt handlers
  3. Date: Mon, 28 Feb 1994 09:29:30 -0500 (EST)
  4. In-Reply-To: <9402281247.AA17278@topo.matups.fr> from "Thierry Bousch" at Feb 28, 94 01:47:42 pm
  5.  
  6. > On the other hand, it should be _possible_ for an interrupt handler to
  7. > raise a signal; for instance, in the case of a SLIP handler, we'd like
  8. > to receive a signal (or whatever) when a datagram has been completely
  9. > received, not at every received character...
  10. > But I don't know if it is safe to call Pkill (via the kernel) in an
  11. > interrupt handler.
  12.     I tried to call Psigsetmask from a trap 2 handler via the
  13. kernal table once.  I can't remember if it allways crashed, or just
  14. when a signal was pending, but it did crash.  The only thing I could
  15. see in the source code that would explain the crash was a call to
  16. check_sigs().  Pkill also calls check_sigs().
  17.  
  18.  
  19.     Jason
  20.